﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ESRI.ArcGIS.Server;

namespace BTGISWASECO.Server
{
    /// <summary>
    /// This interface is a base contract for all classes that can work in server mode
    /// </summary>
    public interface ServerApplicable
    {
        
        /// <summary>
        /// The server context on which the implementing class will work on.
        /// 
        /// </summary>
        IServerContext ServerContext
        {
            get;
            set;
        }

        /// <summary>
        /// Indicates weather the implementing class will work in server mode or not.
        /// </summary>
        bool ServerMode
        {
            get;
            set;
        }
    }
}
